package cn.edu.ecut.test;

import com.mozicoding.jdbc.DatabaseType;
import com.mozicoding.jdbc.JdbcHelper;

/**
 * 测试删除操作
 */
public class JdbcHelperTest3 {
    public static void main(String[] args) {
        JdbcHelper helper=JdbcHelper.getInstance(DatabaseType.MYSQL);
        String delete="DELETE FROM t_students WHERE id=?";
        int count=helper.update(delete,1);
        System.out.println("count:"+count);
        helper.release();
    }
}
